package jiekou;

/**
 * Created by chenkuo on 2018/7/6.
 */
public class JDemo01 {
    public static void main(String[] args) {
        B abc = new B();
        abc.say();
//        B.NAME
        System.out.println();
    }

}

class B implements A{

    public void say() {
        System.out.println("说话方法");
    }
}
interface A{
    //定义常量
    public static final String NAME="陈阔";
    public abstract void say();
        }
